Skip to content

Pin Windows CI runner to windows-2022 for Node 22 native build stability - #88

Merged
Raymond Zhao (rzhao271) merged 2 commits into
mainfrom
copilot/fix-github-actions-build-job
Jun 30, 2026
Merged

Pin Windows CI runner to windows-2022 for Node 22 native build stability#88
Raymond Zhao (rzhao271) merged 2 commits into
mainfrom
copilot/fix-github-actions-build-job

Conversation

Copilot AI commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

The build (windows-latest, 22.x) GitHub Actions job failed during npm ci because node-gyp could not resolve a supported Visual Studio toolchain on the current windows-latest image. This change narrows the failure surface by pinning the Windows CI image to a known-compatible runner.

  • CI runner matrix update

    • Updated .github/workflows/ci.yml to use windows-2022 instead of windows-latest in the build matrix.
    • Leaves macOS/Ubuntu behavior unchanged.
  • Why this addresses the failure

    • windows-latest currently maps to an image where node-gyp reports an unknown VS install/version during native module install.
    • windows-2022 provides a stable, recognized toolchain path for Node 22 native addon compilation.
strategy:
  matrix:
    os: [windows-2022, macos-latest, ubuntu-latest]
    node-version: [22.x]

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build (windows-latest, 22.x) Pin Windows CI runner to windows-2022 for Node 22 native build stability Jun 30, 2026
@rzhao271 Raymond Zhao (rzhao271) added this to the 1.128.0 milestone Jun 30, 2026
@rzhao271
Raymond Zhao (rzhao271) marked this pull request as ready for review June 30, 2026 18:04
@rzhao271
Raymond Zhao (rzhao271) enabled auto-merge (squash) June 30, 2026 18:04
auto-merge was automatically disabled June 30, 2026 20:59

Pull request was closed

@rzhao271
Raymond Zhao (rzhao271) enabled auto-merge (squash) June 30, 2026 21:00
@rzhao271
Raymond Zhao (rzhao271) merged commit 874c3a7 into main Jun 30, 2026
9 checks passed
@rzhao271
Raymond Zhao (rzhao271) deleted the copilot/fix-github-actions-build-job branch June 30, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants